-
Notifications
You must be signed in to change notification settings - Fork 451
feat(filed): add field item component #594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@anxndsgn is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 issues found across 11 files
Prompt for AI agents (all 2 issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="apps/ui/public/r/p-radio-group-5.json">
<violation number="1" location="apps/ui/public/r/p-radio-group-5.json:16">
P3: Inconsistent leading space in label text. The Next.js label has `<FieldLabel> Next.js</FieldLabel>` with a space after the opening tag, while other labels like `<FieldLabel>Vite</FieldLabel>` don't. This will render extra whitespace.</violation>
</file>
<file name="apps/ui/registry/default/particles/p-checkbox-group-5.tsx">
<violation number="1" location="apps/ui/registry/default/particles/p-checkbox-group-5.tsx:57">
P2: The submit `Button` is placed inside the `Field` component, which is inconsistent with the existing pattern in `p-radio-group-5.tsx` where the button is correctly placed outside/after the `Field`. The submit button should be a sibling to `Field`, not nested inside it.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
… to align base ui doc
…with descriptions
e350672 to
c07c56c
Compare
|
Hey, thanks for this PR! 🙏 The approach looks good but I'm going to close this one because it introduces a bit too much vertical space between radio and checkbox items. I'm working on another PR that includes this fix along with a few other major improvements, so we'll address it there. Really appreciate you taking the time to contribute! |
Before:
click the label will not toggle the radio/checkbox in form

After:
click the label will also toggle the radio/checkbox